package com.cool.mapper.sysmanagemapper;

import com.cool.po.sysmanagepo.ClassifyPo;

import java.util.List;

public interface ClassifyPoMapper {
    /**
     * delete by primary key
     * @param classifyId primaryKey
     * @return deleteCount
     */
    int deleteByPrimaryKey(Integer classifyId);

    /**
     * insert record to table
     * @param record the record
     * @return insert count
     */
    int insert(ClassifyPo record);

    /**
     * insert record to table selective
     * @param record the record
     * @return insert count
     */
    int insertSelective(ClassifyPo record);

    /**
     * select by primary key
     * @param classifyId primary key
     * @return object by primary key
     */
    ClassifyPo selectByPrimaryKey(Integer classifyId);

    /**
     * update record selective
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKeySelective(ClassifyPo record);

    /**
     * update record
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKey(ClassifyPo record);

    List<ClassifyPo> selectAll();
}